package com.bobo.service.category;

import com.bobo.dto.Page;
import com.bobo.model.Category;

import java.util.List;

/**
 * Created by bobo on 2016/10/16.
 */
public interface ICategoryService {


    public Integer create(Category category);

    public boolean delete(Integer id);

    public boolean update(Category category);

    public Category getById(Integer id);

    public List<Category> getCategories(Integer status);


}
